package com.teamwork.module03.service.file;

import com.teamwork.common.result.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface UploadService {
    Result uploadUserIcon(MultipartFile file, Integer userid) throws IOException;


    String uploadContent(Long articleId, Integer userid, String content) throws IOException;

    String uploadCover(Long articleId, Integer userid, MultipartFile cover) throws IOException;

    Result uploadContentImg(MultipartFile file) throws IOException;

    void setMorenUserIcon(Long id);
}
